package com.ruoyi.stateMachineDemo.service;

import com.ruoyi.stateMachineDemo.bean.GoodOrder;

/**
 * 订单接口
 */
public interface GoodOrderService {
    /**
     * 创建订单
     */
    void createOrder(GoodOrder order);

    /**
     * 支付订单
     */
    void payOrder(GoodOrder order);

    /**
     * 收货
     */
    void receive(GoodOrder order);
}
